<?php
function displayPage()
{
	$verdict = false;
	$apps = 'newItem
accounts';
	$appList = explode("\n", $apps);
	for ($i=0; $i<sizeOf($appList); $i++)
	{
		if(get('sector') == $appList[$i])
		{
			$verdict = true;
		}
	}
	
	if(!$verdict)
	{
		include_once('app/404.php');
	}
	else
	{
		include_once('app/'.get('sector').'.php');
	}
	$output = $display;
	return $output;
}
?>